package com.firebird.app.kotlin.stock.ui.nullpage

import android.R
import android.os.Bundle
import android.view.View
import android.widget.LinearLayout
import android.widget.TextView
import butterknife.BindView
import butterknife.OnClick
import com.firebird.app.kotlin.stock.base.BaseActivity

import com.firebird.app.kotlin.stock.ui.addbank.AddBankActivity
import com.firebird.app.kotlin.stock.ui.verifyperson.VerifyPersonActivity


class NullBankActivity : BaseActivity() {
    @BindView(R.id.back)
    var back: LinearLayout? = null
    @BindView(R.id.tv_title)
    var tvTitle: TextView? = null
    @BindView(R.id.tv_no)
    var tvNo: TextView? = null
    @BindView(R.id.tv_yes)
    var tvYes: TextView? = null
    private val bundle = Bundle()
    override val layoutId: Int
        get() = R.layout.null_bank

    override fun initView() {}
    @OnClick(R.id.back, R.id.tv_no, R.id.tv_yes)
    fun onViewClicked(view: View) {
        when (view.id) {
            R.id.back -> finish()
            R.id.tv_no -> finish()
            R.id.tv_yes -> {
                bundle.putString("dealpwd", "no")
                toClass1(this, AddBankActivity::class.java, bundle)
            }
        }
    }
}